package com.gigalaxy
{
	import flash.utils.Dictionary;

	import mx.collections.ArrayCollection;

	import spark.components.ViewNavigator;
	import spark.core.ContentCache;

	public class GlobalRegister
	{
		private static var inited:Boolean=false;

		public static var NAVIGATOR:ViewNavigator;
		public static var CATEGORIES_DV:ArrayCollection;
		public static var ENTRIES_DV:ArrayCollection;
		public static var CURRENT_ENTRY:Object;
		public static var IMAGE_CACHED:ContentCache;
		public static var ENTRIES_DV_DIC:Dictionary;
		public static var ENABLE_PUSH_NOTIFICATION:Boolean=true;
		public static var FULL_SCREEN_WIDTH:Number;
		public static var FULL_SCREEN_HEIGHT:Number;

		public static function initStaticData():void
		{
			if (!inited)
			{
				inited=true;

				IMAGE_CACHED=new ContentCache();
				IMAGE_CACHED.maxCacheEntries=63;
			}
		}
	}
}
